<template>
  <div class="register" v-html="content"></div>
</template>

<script>
import { getAgreement } from "@/api/login";

export default {
  name: "Agreement",
  data() {
    return {
      content: '',
      loading: false,
    };
  },
  created() {
    document.title = '用户协议';
    this.getInfo();
  },
  methods: {
    getInfo() {
      getAgreement().then(res => {
        this.content = res.data;
      });
    }
  }
};
</script>

<style rel="stylesheet/scss" lang="scss">
html,
body,
#app {
  width: 100%;
  overflow-x: hidden;
}
.register {
  padding: 15px;
}
</style>
